import $http from './request.js'
//获取企业列表
function geteList(params) {
    return $http({
        url: '/enterprise/list',
        method: 'get',
        params,
    })
}
//修改状态
function setStatus(data) {
    return $http({
        url: '/enterprise/status',
        method: 'post',
        data,
    })
}
//删除企业
function delbussiness(data) {
    return $http({
        url: '/enterprise/remove',
        method: 'post',
        data,
    })
}
//新增企业
function addBussiness(data) {
    return $http({
        url: '/enterprise/add',
        method: 'post',
        data,
    })
}
//编辑企业信息
function editBussiness(data) {
    return $http({
        url: '/enterprise/edit',
        method: 'post',
        data,
    })
}
export { geteList, setStatus, delbussiness, addBussiness,editBussiness }